<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>

<?php
include_once "function_dhcp_operate.php";

$in_array['Name']= ($_POST['name']);
$in_array['Addr']= $_POST['addr'];
$in_array['Mac']= $_POST['mac'];

AppendXmlDhcpMacBind($in_array);

$in_array['Name'] = "'". $in_array['Name']. "'";

include_once "function_misc_log.php";
logger("Add", $in_array, "Dhcp_Bind");

include "function_web_misc.php";
PrintSuccessPageAndJump('dhp_server_manage.php');
//echo("<meta http-equiv='refresh'content=0;URL='dhp_server_manage.php'>");
?>
